package com.wzs.workbench.dao;

import com.wzs.workbench.domain.Novel;

import java.util.HashMap;
import java.util.List;

public interface NovelMapper {
    int deleteByPrimaryKey(String id);

    int insert(Novel record);

    int insertSelective(Novel record);

    Novel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Novel record);

    int updateByPrimaryKey(Novel record);

    int getTotalByCondition(HashMap<String, Object> map);

    List<Novel> getNovelListByCondition(HashMap<String, Object> map);

    int getTotalByAid(HashMap<String, Object> map);

    List<Novel> getNovelListByAid(HashMap<String, Object> map);

    int deleteNovel(String[] ids);

    Novel getNovelList(String id);

    int updateNovel(Novel novel);

    Novel detail(String id);

    List<String> getNovelName(String name);
}